

export class User {


    id?: string;
    username?: string;
   // password?: string;
    confirmPassword?: string;
    email?: string;
    realName?: string;
    phone?: string;
    isChecked?: boolean;
    image?: string;
    job?: string;
    address?: string;
    idCard?: string;
    departmentId?: string;
    salt?: string;
    lastLogin?: Date;
    role?: number;
    status?: number;
    newPassword?: string;
    createDate?: Date;
    updateDate?: Date;

    mima?: string;

    set password(psw: string) {
      this.mima = psw;
    }
    get password (): string {
      return this.mima;
    }

}
